﻿using System;
using System.IO;

namespace OpenLS.Spreadsheet.Formats.Biff.Records
{
    struct BuiltInStyle
    {
        private byte istyBuiltIn;
        private byte iLevel;

        public byte BuildInId
        {
            get { return istyBuiltIn; }
        }

        public void Read (BinaryReader reader)
        {
            istyBuiltIn = reader.ReadByte();
            iLevel = reader.ReadByte();
        }

        public void Write(BinaryWriter writer)
        {
            writer.Write(istyBuiltIn);
            writer.Write(iLevel);
        }
    }
}